#!/bin/env python

# Lucid is Copyright (C) 2006 by Infiscape
#
# Original Author: Allen Bierbaum
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

import sys
from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
   def setupUi(self, MainWindow):
      MainWindow.setObjectName("MainWindow")
      MainWindow.resize(QtCore.QSize(QtCore.QRect(0,0,462,482).size()).expandedTo(MainWindow.minimumSizeHint()))
      MainWindow.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape(0)))

      self.centralwidget = QtGui.QWidget(MainWindow)
      self.centralwidget.setObjectName("centralwidget")

      self.vboxlayout = QtGui.QVBoxLayout(self.centralwidget)
      self.vboxlayout.setMargin(0)
      self.vboxlayout.setSpacing(0)
      self.vboxlayout.setObjectName("vboxlayout")

      self.textEdit = QtGui.QTextEdit(self.centralwidget)

      font = QtGui.QFont(self.textEdit.font())
      font.setFamily("Monospace")
      font.setPointSize(9)
      font.setWeight(50)
      font.setItalic(False)
      font.setUnderline(False)
      font.setStrikeOut(False)
      font.setBold(False)
      self.textEdit.setFont(font)
      self.textEdit.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape(4)))
      self.textEdit.setObjectName("textEdit")
      self.vboxlayout.addWidget(self.textEdit)
      MainWindow.setCentralWidget(self.centralwidget)

      self.statusbar = QtGui.QStatusBar(MainWindow)
      self.statusbar.setObjectName("statusbar")
      MainWindow.setStatusBar(self.statusbar)

      self.toolBar = QtGui.QToolBar(MainWindow)
      self.toolBar.setOrientation(QtCore.Qt.Horizontal)
      self.toolBar.setObjectName("toolBar")
      MainWindow.addToolBar(self.toolBar)

      self.mActionApply = QtGui.QAction(MainWindow)
      self.mActionApply.setObjectName("mActionApply")
      self.toolBar.addAction(self.mActionApply)

      self.retranslateUi(MainWindow)
      QtCore.QMetaObject.connectSlotsByName(MainWindow)

   def retranslateUi(self, MainWindow):
      MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
      self.mActionApply.setText(QtGui.QApplication.translate("MainWindow", "Apply", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
   app = QtGui.QApplication(sys.argv)
   MainWindow = QtGui.QMainWindow()
   ui = Ui_MainWindow()
   ui.setupUi(MainWindow)
   MainWindow.show()
   sys.exit(app.exec_())
